package zust.javaee.dto.announcement;

import zust.javaee.entity.Tcorporation;
import zust.javaee.entity.Tmember;

import java.util.Date;

/**
 * Created by liy on 2017/1/9.
 */
public class AnnouncementDto {

    private Integer id;
//    private Integer corporationId;
//    private String corporationName;
//    private Integer memberId;
//    private String memberName;
    private String title;
    private String content;
    private Date createTime;
    private Date updateTime;
    private Short type;
    private String fileUrl;
    private Integer readCount;
    private String pic;

    public AnnouncementDto() {
    }

    public AnnouncementDto(Integer id, String title, String content, Date createTime, Date updateTime, Short type, String fileUrl, Integer readCount, String pic) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.type = type;
        this.fileUrl = fileUrl;
        this.readCount = readCount;
        this.pic = pic;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }
}
